package com.linglan.modules.user.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.Date;

/**
 * 患者表(Patient)表实体类
 *
 * @author makejava
 * @since 2025-05-03 19:59:44
 */
@SuppressWarnings("serial")
@TableName("patient")
public class Patient extends Model<Patient> {

    private Long id;
//病案号
    private String code;
//患者姓名
    private String name;
//患者身份
    private String type;
//是否医保患者
    private String insurance;
//性别
    private String sex;
//年龄
    private String age;
//出生日期
    private String birthday;
//联系电话
    private String telephone;
//证件类型
    private String idType;
//证件号码
    private String idNum;
//会员卡号
    private String cardNum;
//身份到期日期
    private String endDate;
//患者状态
    private String patientStatus;
//分销等级
    private String level;
//微信号
    private String wxName;
//邮箱
    private String email;
//职业
    private String career;
//月收入
    private String monthlyIncome;
//组织单位
    private String org;
//婚姻状况
    private String maritalStatus;
//宗教信仰
    private String religious;
//国家/地区
    private String country;
//地址
    private String address;
//备注
    private String remark;
//联系人
    private String contact;
//联系人电话
    private String contactPhone;
//与患者关系
    private String relationship;
//推荐员工
    private String recommendedEmployee;
//推荐客户
    private String recommendedClient;
//推荐客户联系电话
    private String recommendedClientPhone;
//推荐渠道
    private String recommendedChannel;
//渠道补充描述
    private String channelRemark;
//开发人员
    private String developer;
//咨询师
    private String consultant;
//电网咨询
    private String consult;
//客户经理
    private String accountManager;
//主诊医生
    private String attendingPhysician;
//兴趣爱好
    private String hobby;
//标签
    private String tag;
//潜在意向
    private String potentialIntention;
//创建人
    private String syncCreateUser;
//创建时间
    private String syncCreateTime;
//最后更新时间
    private String syncLastUpdateTime;
//最后活跃时间
    private String syncLastActiveTime;
//到诊次数
    private String visitNum;
//慢性病
    private String disease;
//累计消费金额
    private Double totalAmount;
//储值金余额
    private Double storeAmount;
//赠送金余额
    private Double giftAmount;
//剩余积分
    private Double remainingPoint;
//剩余套餐金额
    private Double remainingAmount;
//待执行金额
    private Double pendingAmount;
//0-有效 1-无效
    private Integer status;
//同步时间
    private Date syncTime;
//创建人
    private String createBy;
//创建时间
    private Date createTime;
//更新人
    private String updateBy;
//更新时间
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getInsurance() {
        return insurance;
    }

    public void setInsurance(String insurance) {
        this.insurance = insurance;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getIdNum() {
        return idNum;
    }

    public void setIdNum(String idNum) {
        this.idNum = idNum;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getPatientStatus() {
        return patientStatus;
    }

    public void setPatientStatus(String patientStatus) {
        this.patientStatus = patientStatus;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getWxName() {
        return wxName;
    }

    public void setWxName(String wxName) {
        this.wxName = wxName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCareer() {
        return career;
    }

    public void setCareer(String career) {
        this.career = career;
    }

    public String getMonthlyIncome() {
        return monthlyIncome;
    }

    public void setMonthlyIncome(String monthlyIncome) {
        this.monthlyIncome = monthlyIncome;
    }

    public String getOrg() {
        return org;
    }

    public void setOrg(String org) {
        this.org = org;
    }

    public String getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    public String getReligious() {
        return religious;
    }

    public void setReligious(String religious) {
        this.religious = religious;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getRecommendedEmployee() {
        return recommendedEmployee;
    }

    public void setRecommendedEmployee(String recommendedEmployee) {
        this.recommendedEmployee = recommendedEmployee;
    }

    public String getRecommendedClient() {
        return recommendedClient;
    }

    public void setRecommendedClient(String recommendedClient) {
        this.recommendedClient = recommendedClient;
    }

    public String getRecommendedClientPhone() {
        return recommendedClientPhone;
    }

    public void setRecommendedClientPhone(String recommendedClientPhone) {
        this.recommendedClientPhone = recommendedClientPhone;
    }

    public String getRecommendedChannel() {
        return recommendedChannel;
    }

    public void setRecommendedChannel(String recommendedChannel) {
        this.recommendedChannel = recommendedChannel;
    }

    public String getChannelRemark() {
        return channelRemark;
    }

    public void setChannelRemark(String channelRemark) {
        this.channelRemark = channelRemark;
    }

    public String getDeveloper() {
        return developer;
    }

    public void setDeveloper(String developer) {
        this.developer = developer;
    }

    public String getConsultant() {
        return consultant;
    }

    public void setConsultant(String consultant) {
        this.consultant = consultant;
    }

    public String getConsult() {
        return consult;
    }

    public void setConsult(String consult) {
        this.consult = consult;
    }

    public String getAccountManager() {
        return accountManager;
    }

    public void setAccountManager(String accountManager) {
        this.accountManager = accountManager;
    }

    public String getAttendingPhysician() {
        return attendingPhysician;
    }

    public void setAttendingPhysician(String attendingPhysician) {
        this.attendingPhysician = attendingPhysician;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getPotentialIntention() {
        return potentialIntention;
    }

    public void setPotentialIntention(String potentialIntention) {
        this.potentialIntention = potentialIntention;
    }

    public String getSyncCreateUser() {
        return syncCreateUser;
    }

    public void setSyncCreateUser(String syncCreateUser) {
        this.syncCreateUser = syncCreateUser;
    }

    public String getSyncCreateTime() {
        return syncCreateTime;
    }

    public void setSyncCreateTime(String syncCreateTime) {
        this.syncCreateTime = syncCreateTime;
    }

    public String getSyncLastUpdateTime() {
        return syncLastUpdateTime;
    }

    public void setSyncLastUpdateTime(String syncLastUpdateTime) {
        this.syncLastUpdateTime = syncLastUpdateTime;
    }

    public String getSyncLastActiveTime() {
        return syncLastActiveTime;
    }

    public void setSyncLastActiveTime(String syncLastActiveTime) {
        this.syncLastActiveTime = syncLastActiveTime;
    }

    public String getVisitNum() {
        return visitNum;
    }

    public void setVisitNum(String visitNum) {
        this.visitNum = visitNum;
    }

    public String getDisease() {
        return disease;
    }

    public void setDisease(String disease) {
        this.disease = disease;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Double getStoreAmount() {
        return storeAmount;
    }

    public void setStoreAmount(Double storeAmount) {
        this.storeAmount = storeAmount;
    }

    public Double getGiftAmount() {
        return giftAmount;
    }

    public void setGiftAmount(Double giftAmount) {
        this.giftAmount = giftAmount;
    }

    public Double getRemainingPoint() {
        return remainingPoint;
    }

    public void setRemainingPoint(Double remainingPoint) {
        this.remainingPoint = remainingPoint;
    }

    public Double getRemainingAmount() {
        return remainingAmount;
    }

    public void setRemainingAmount(Double remainingAmount) {
        this.remainingAmount = remainingAmount;
    }

    public Double getPendingAmount() {
        return pendingAmount;
    }

    public void setPendingAmount(Double pendingAmount) {
        this.pendingAmount = pendingAmount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getSyncTime() {
        return syncTime;
    }

    public void setSyncTime(Date syncTime) {
        this.syncTime = syncTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

